package com.cs.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cs.domain.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysMenuMapper extends BaseMapper<SysMenu> {
    /**
     * 查询用户的菜单
     * @param userId
     * @return
     */
    List<SysMenu> findMenus(@Param("userId") Long userId);
}